/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  /* halaman result pencarian */
  #header {
    display: none;
  }
  #filter-search {
    /* display: flex; */
    display: none;
  }
  #filter-search div {
    width: 100%;
    text-align: right;
  }
  #filter-search div:nth-child(2) p {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
  }
  #terdekat-result {
    display: flex;
    flex-wrap: wrap;
    /* padding: 0 1rem; */
    padding: 0 1.5rem 0 0;
    font-family: Inter, sans-serif;
  }
  #terdekat-result a {
    text-decoration: none;
    color: #000;
  }
  #terdekat-result .result-child-box {
    width: 100%;
    margin: 0.75rem 0;
    /* border: 1px solid gainsboro; */
    border-radius: 0.5rem;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  }

  #terdekat-result .result-child-box .img-box {
    display: block;
    position: relative;
    height: 200px;
    background-color: #f7f7f7;
  }

  #terdekat-result .result-child-box .img-box img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    height: none;
  }

  #terdekat-result .result-child-box .caption {
    padding: 1rem;
  }

  #terdekat-result .result-child-box .caption .caption-box p {
    font-size: 1rem;
    font-weight: bold;
  }

  #terdekat-result .result-child-box .caption .caption-box span {
    font-size: 0.75rem;
    font-weight: 600;
  }

  #terdekat-result .result-child-box .caption .caption-detail {
    font-size: 0.75rem;
    margin: 0.75rem 0;
  }

  /* halaman detail */
  #header-detail {
    display: none;
  }

  .caption-alamat {
    font-size: 10px;
  }

  .caption-rating {
    color: #ffc107;
  }
  .caption-rating i {
    font-size: 12px;
  }

  /* new navbar */
  .new-navbar {
    display: flex;
    justify-content: space-between;
    background: #7fad39;
    align-items: center;
    padding: 8px;
  }

  .new-navbar .box-back-btn {
    width: 30px;
  }

  .box-search-new {
    width: 100%;
    /* background: red; */
    display: flex;
    justify-content: space-evenly;
  }

  .btn-new-nav {
    background: transparent;
    border: none;
    color: #f9f9f9;
  }

  .q-new-nav {
    border: none;
    border: 1px solid #f9f9f9;
    border-radius: 50px;
    padding: 4px 12px;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  #terdekat-result {
    /* background-color: pink; */
    display: flex;
    flex-wrap: wrap;
    font-family: Inter, sans-serif;
  }
  #terdekat-result .result-child-box a {
    text-decoration: none;
    color: #000;
  }
  #terdekat-result .result-child-box {
    width: calc((100% / 3) - 36px);
    margin: 12px calc(calc((100% - ((100% / 3) - 36px) * 3)) / 6);
    /* border: 1px solid gainsboro; */
    border-radius: 0.5rem;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  }

  #terdekat-result .result-child-box .img-box {
    display: block;
    position: relative;
    height: 200px;
    background-color: #f7f7f7;
  }

  #terdekat-result .result-child-box .img-box img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    height: none;
  }

  #terdekat-result .result-child-box .caption {
    padding: 1rem;
  }

  #terdekat-result .result-child-box .caption .caption-box p {
    font-size: 1rem;
    font-weight: bold;
  }

  #terdekat-result .result-child-box .caption .caption-box span {
    font-size: 0.75rem;
    font-weight: 600;
  }

  #terdekat-result .result-child-box .caption .caption-detail {
    font-size: 0.75rem;
    margin: 0.75rem 0;
  }
  .caption-rating {
    color: #ffc107;
  }
  .caption-rating i {
    font-size: 12px;
  }

  /* new navbar */
  .new-navbar {
    display: none;
  }
}

